<header ms-controller="headerCtr">
    <div class="topbg">
        <ul class="topnav">
            <a href="/ " target="_blank">Home</a><a href="/ " target="_blank">官方微博</a><a href="/ " target="_blank">关于我们</a>
        </ul>
    </div>
    <div class="topbgline"></div>
    <div class="logo">
        <div class="logo_l f_l"><a href="/"><img src="{{staticThemePath}}/images/logo.png"></a></div>
        <div class="logo_r f_r">
            <div class="search">
                <form name="searchform" id="searchform">
                    <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text" ms-on-keyup="@onKeyUp" ms-duplex="@searchkey">
                    <input name="show" value="title" type="hidden">
                    <input name="tempid" value="1" type="hidden">
                    <input name="tbname" value="news" type="hidden">
                    <input name="Submit" class="input_submit" value="搜索" type="submit">
                </form>
            </div>
        </div>
    </div>
    <nav id="topnav">
        <ul>
            <a href="/" target="_blank">网站首页</a>
            {% for cate in navigation %}
            {% if cate.parentId == '0' %}
            {% if cateInfo._id == cate._id %}
            {% set navClass = 'active'%}
            {% else %}
            {% set navClass = ''%}
            {% endif %}

            <a class="{{navClass}}" href="{{cate.url}}" target="_blank">{{cate.name}}</a>

            {% endif %}
            {% endfor %}
        </ul>
        <script src="{{staticThemePath}}/js/silder.js"></script>
    </nav>
</header>